package com.wjc.train.business.mapper;

import com.wjc.train.business.entity.Train;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.TrainQueryReq;
import com.wjc.train.business.resp.TrainQueryResp;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 车次表 Mapper 接口
 * </p>
 *
 * @author Guessed
 * @since 2023-07-31
 */
public interface TrainMapper extends BaseMapper<Train> {

  IPage<TrainQueryResp> queryList(@Param("page") IPage<TrainQueryResp> page,
                                  @Param("trainQueryReq") TrainQueryReq trainQueryReq);
}
